<?php
declare (strict_types=1);

namespace app\api\controller;

use app\common\tool\Result;
use think\Response;
use app\common\model\Store as StoreModel;

class Store extends Base
{
    public function index(): Response
    {
        $list = StoreModel::getList([], true, 'sort', [], 'id,title');

        return Result::success('success', $list);
    }
}